<%= error_messages_for 'user' %>

<!--[form:user]-->
<table>
<tr>
    <th><label for="user_login">Login</label></th>
    <td><%= text_field 'user', 'login', :class => 'fmedium'  %></td>
</tr>    
<tr>
    <th><label for="user_name">Name</label></th>
    <td><%= text_field 'user', 'name', :class => 'fmedium'  %></td>
</tr>    

<tr>
    <th><label for="bug_number">Type</label></th>    
    <td><select name="user[type]" class="fmedium">
        <option value="UserAdmin" <% if @user.type.to_s == 'UserAdmin' %> selected="selected" <% end %>>Admin</option>
        <option value="UserReporter"<% if @user.type.to_s == 'UserReporter' %> selected="selected" <% end %>>Reporter</option>
        <option value="UserDeveloper" <% if @user.type.to_s == 'UserDeveloper' %> selected="selected" <% end %>>Developer</option>
        </select></td>
</tr>
</table>

<!--[eoform:user]-->

